package com.ym.medical.enums;

import com.ym.common.constant.Constants;

/**
 * 微信消息类型
 */
public enum WxMsgTypeEnum {
    //--------------------start-----------------

    //支付消息
    MINI_PAY_MSG("01","jf3PwSLCHakbP_euGhS7SQ_SVVHxhRMSHci1pJw5bAM", Constants.MiniPage.MINI_HOME_PAGE, PlaformSourceEnum.SMALL_PROGRAM),
    MP_PAY_MSG("02","2TLQsZX8rkEBV95ApiOyxVJ5NJ9So-EM-lPALWrycQs", Constants.MiniPage.MINI_HOME_PAGE, PlaformSourceEnum.THE_PUBLIC),

    //退费消息
    MINI_REFUND_MSG("03","gNUYjG_k0OVYsqbTnnx5splm7EyEHdquMCA30km1icI", Constants.MiniPage.MINI_HOME_PAGE, PlaformSourceEnum.SMALL_PROGRAM),
    MP_REFUND_MSG("04","C_83otspTB_UQBSBsocVFGuOnw3evTpn_kiR8b5iQXw", Constants.MiniPage.MINI_HOME_PAGE, PlaformSourceEnum.THE_PUBLIC),


    //患者电话预约提醒模板
    MINI_PHONE_APPOINTMENT_MSG("05","oiZOOyuNxJ1Z9wM82juAzJDu7srPJakl0d8jTTu54V8", "", PlaformSourceEnum.SMALL_PROGRAM),
    MP_PHONE_APPOINTMENT_MSG("06", "","", PlaformSourceEnum.THE_PUBLIC),

    //医生回复通知模板
    MINI_DOCTOR_REPLY_MSG("07","D4JFvahMVMIFwwj_mmOejZJNk89wSoCKuE2DWdxnJFE", "", PlaformSourceEnum.SMALL_PROGRAM),
    MP_DOCTOR_REPLY_MSG("08","TI9kPW44EmlGrhgQkW05UGYoF84_DHCA5bb20ueJeIY", "", PlaformSourceEnum.THE_PUBLIC),

    //话题提醒通知
    MINI_TOPIC_REMINDER_MSG("09","q2QVsQnG5fjGpw8iwjsURbvp9NDMGFkFZ0fJPvyPqII", "", PlaformSourceEnum.SMALL_PROGRAM),
    MP_TOPIC_REMINDER_MSG("10","", "", PlaformSourceEnum.THE_PUBLIC),

    //就诊评价通知
    MINI_INQUIRY_EVALUATE_MSG("11","fD68vXuZoK2MmuCLpW3kjJqH-ie2a34XPE2MygOWgFI", "", PlaformSourceEnum.SMALL_PROGRAM),
    MP_INQUIRY_EVALUATE_MSG("12","", "", PlaformSourceEnum.THE_PUBLIC),

    //就诊总结通知
    MINI_INQUIRY_SUMMARY_MSG("13","fD68vXuZoK2MmuCLpW3kjJqH-ie2a34XPE2MygOWgFI", "", PlaformSourceEnum.SMALL_PROGRAM),
    MP_INQUIRY_SUMMARY_MSG("14","", "", PlaformSourceEnum.THE_PUBLIC),

    //订单异常通知
    MINI_ORDER_EXCEPTION_MSG("15","AmpM3h0bR0YtKCpko25ctlnIePjqGXC2p5n7vWcihuo", "", PlaformSourceEnum.SMALL_PROGRAM),
    MP_ORDER_EXCEPTION_MSG("16","", "", PlaformSourceEnum.THE_PUBLIC),

    //诊后随访提醒通知
    MINI_FOLLOW_UP_MSG("17","9CYXxAstEjwOuivBu_oyq8i8gNjchF4gcajbTGeRE8Q", "", PlaformSourceEnum.SMALL_PROGRAM),
    MP_FOLLOW_UP_MSG("18","", "", PlaformSourceEnum.THE_PUBLIC)
    //--------------------end-------------------
    ;

    private String code;            //消息类型
    private String templateId;      //模板id
    private String page;            //跳转页面
    private PlaformSourceEnum plaformSourceEnum;    //平台


    WxMsgTypeEnum(String code,String templateId, String page, PlaformSourceEnum plaformSourceEnum) {
        this.code = code;
        this.templateId = templateId;
        this.page = page;
        this.plaformSourceEnum = plaformSourceEnum;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public PlaformSourceEnum getPlaformSourceEnum() {
        return plaformSourceEnum;
    }

    public void setPlaformSourceEnum(PlaformSourceEnum plaformSourceEnum) {
        this.plaformSourceEnum = plaformSourceEnum;
    }
}
